const express = require('express');
const LoginRouter = require('./js/Login')

const HomeRouter = require('./js/Home')
let app = express();
app.use(express.urlencoded({ extended: false }))


//配置解析
app.set("views", __dirname + "/html")
app.set("view engine", "ejs")
app.use([LoginRouter, HomeRouter])

app.listen(80, (req, res) => {
    console.log('就像风吹不过大海一样，连你和我也越走越远了');
})